import 'package:flutter/material.dart';
import 'package:flutter_application_1/components/marquee/marquee.dart';

class MarqueeTest extends StatefulWidget {
  @override
  _MarqueeTestState createState() => _MarqueeTestState();
}

class _MarqueeTestState extends State<MarqueeTest> {
  @override
  Widget build(BuildContext context) {
    return Container(
      padding: EdgeInsets.symmetric(horizontal: 8),
      // height: 300,
      child: Column(
        children: [
          Marquee(
            child: Text(
              '0123456789零一二三四五六七八九0123456789零一二三四五六七八九',
            ),
          ),
          Marquee(
            child: FlutterLogo(size: 50),
          ),
          Marquee(
            child: Text(
              '0123456789零一二三四五六七八九',
            ),
          ),
        ],
      ),
    );
  }
}
